API ReferenceOrganizations
Create API Key for Team
Create API Key for Team
POST/v2/organizations/{orgId}/teams/{teamId}/api-keys
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.organizations.teams.createApiKey({ orgId: 'org_pqr901', teamId: 'team_stu234', name: 'My Project',})console.log(result)API Signature
Request
Path Parameters
orgId: string
The unique identifier of the organization.
teamId: string
The unique identifier of the team.
Request Body
name: string
A name for the API key.
Response
id: string
The unique identifier of the API key.
name: string
The name of the API key.
ownerId: string
The team ID that owns this key.
apiKey: string
The full API key. Only returned on creation.